<style>
    .integral_person {
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 18px;
    background-color: #fff;
    }
    .integral_state {
    padding-top: 0px;
    font-size: 18px;
    background-color: #fff;
    }
    .integral_item {
    position: relative;
    color: #333333;
    height: 45px;
    border-bottom: 1px solid #eeeeee;
    display: flex;
    align-items: center;
    padding-left: 20px;
    }
    .integral_grade {
    color: #999999;
    float: right;
    margin-left: 52%;
    font-size: 16px;
    }
    @media screen and (max-width: 320px){
    .integral_person {
        font-size: 16px;
        }
    .integral_state {
        font-size: 16px;
    }
    }
</style>
{layout name="layout/common" /}
<div class="register_head">
    <img id="back" src="__STATIC__/index/img/return.png">
    <p>积分详情</p>
</div>
<div class="main">
    <div class="integral_person">
        <div class="" style="padding-left:20px;padding-right: 20px;padding-top: 20px;color:#a62037"><?php echo substr($point,0,strlen($point)-3) / 50; ?>积分</div>
        <div class="" style="padding-left:20px;padding-bottom:20px"><?php echo mb_substr($address,0,strlen($address)-4); ?>*号</div>
    </div>
    <div class="integral_state">
        {if($integral['JData'])}
        {foreach $integral['JData'] as $vo}
        <div class="integral_item">{$vo.sysdate}<span class="integral_grade" style="color:#a62037">+<?php echo substr($vo['point'],0,strlen($vo['point'])-3)/50; ?></span></div>
        {/foreach}
        {/if}
</div>
</div>
<script>
  // 取消提示的http地址显示
    window.alert = function(name) {
        var iframe = document.createElement("IFRAME");
        iframe.style.display = "none";
        iframe.setAttribute("src", 'data:text/plain,');
        document.documentElement.appendChild(iframe);
        window.frames[0].window.alert(name);
        iframe.parentNode.removeChild(iframe);
    }
    $(function(){
        $("#back").click(function(){
            window.history.go(-1);
        });
    })
</script>


